home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1995 April / Internet Tools.iso / appletalk / netatalk / afs / afskrbsrc.sit.hqx / AFS Kerberos 1.0B0 / log.r < prev    next >
Encoding:
Text File  |  1991-10-04  |  5.0 KB  |  269 lines

  1. /*
  2.  * Copyright (c) 1990 Regents of The University of Michigan.
  3.  * All Rights Reserved.
  4.  *
  5.  * Permission to use, copy, modify, and distribute this software
  6.  * and its documentation for any purpose and without fee is hereby
  7.  * granted, provided that the above copyright notice appears in all
  8.  * copies and that both that copyright notice and this permission
  9.  * notice appear in supporting documentation, and that the name of
  10.  * The University of Michigan not be used in advertising or
  11.  * publicity pertaining to distribution of the software without
  12.  * specific, written prior permission. This software is supplied as
  13.  * is without expressed or implied warranties of any kind.
  14.  *
  15.  *    ITD Research Systems
  16.  *    University of Michigan
  17.  *    535 W. William Street
  18.  *    Ann Arbor, Michigan
  19.  *    +1-313-936-2652
  20.  *    netatalk@terminator.cc.umich.edu
  21.  */
  22.  
  23. #define DriverID    12
  24.  
  25. #include "types.r"
  26. #include "systypes.r"
  27. #include "mpwtypes.r"
  28. #include "rsrc.h"
  29.  
  30. resource 'vers' (1) {
  31.     1, 0, beta, 0, verUS,
  32.     "AFS Log DA 1.0B0",
  33.     "AFS Log DA 1.0B0\nUoMÑITDÑRS 10/91"
  34. };
  35.  
  36. resource 'DLOG' (0 + 0xC000 | (DriverID << 5)) {
  37.     {44, 70, 212, 424},
  38.     dBoxProc,
  39.     visible,
  40.     noGoAway,
  41.     0x0,
  42.     0 + 0xC000 | (DriverID << 5),
  43.     ""
  44. };
  45.  
  46. resource 'DLOG' (2 + 0xC000 | (DriverID << 5)) {
  47.     {46, 138, 288, 460},
  48.     dBoxProc,
  49.     visible,
  50.     noGoAway,
  51.     0x0,
  52.     2 + 0xC000 | (DriverID << 5),
  53.     ""
  54. };
  55.  
  56. resource 'DITL' (0 + 0xC000 | (DriverID << 5)) {
  57.     {    /* array DITLarray: 9 elements */
  58.         /* [1] */
  59.         {136, 260, 156, 330},
  60.         Button {
  61.             enabled,
  62.             "OK"
  63.         },
  64.         /* [2] */
  65.         {136, 40, 156, 110},
  66.         Button {
  67.             enabled,
  68.             "Cancel"
  69.         },
  70.         /* [3] */
  71.         {17, 74, 53, 348},
  72.         StaticText {
  73.             disabled,
  74.             "Authenticate to \"^1\" as:"
  75.         },
  76.         /* [4] */
  77.         {59, 62, 79, 109},
  78.         StaticText {
  79.             disabled,
  80.             "Name:"
  81.         },
  82.         /* [5] */
  83.         {59, 114, 75, 326},
  84.         EditText {
  85.             enabled,
  86.             ""
  87.         },
  88.         /* [6] */
  89.         {92, 35, 109, 108},
  90.         StaticText {
  91.             disabled,
  92.             "Password:"
  93.         },
  94.         /* [7] */
  95.         {93, 114, 109, 180},
  96.         EditText {
  97.             enabled,
  98.             ""
  99.         },
  100.         /* [8] */
  101.         {92, 190, 110, 267},
  102.         StaticText {
  103.             disabled,
  104.             "(Kerberos)"
  105.         },
  106.         /* [9] */
  107.         {136, 136, 156, 236},
  108.         Button {
  109.             enabled,
  110.             "Set Password"
  111.         }
  112.     }
  113. };
  114.  
  115. resource 'DITL' (2 + 0xC000 | (DriverID << 5)) {
  116.     {    /* array DITLarray: 5 elements */
  117.         /* [1] */
  118.         {212, 209, 232, 279},
  119.         Button {
  120.             enabled,
  121.             "OK"
  122.         },
  123.         /* [2] */
  124.         {212, 33, 232, 103},
  125.         Button {
  126.             enabled,
  127.             "Cancel"
  128.         },
  129.         /* [3] */
  130.         {10, 19, 29, 270},
  131.         StaticText {
  132.             disabled,
  133.             "Select an AFS Kerberos server:"
  134.         },
  135.         /* [4] */
  136.         {38, LIST_LEFT, 201, LIST_RIGHT },
  137.         UserItem {
  138.             enabled
  139.         }
  140.     }
  141. };
  142.  
  143.  
  144. resource 'ALRT' (4 + 0xC000 | (DriverID << 5)) {
  145.     {40, 56, 160, 456},
  146.     4 + 0xC000 | (DriverID << 5),
  147.     {
  148. /* [1] */    OK, visible, silent,
  149. /* [2] */    OK, visible, silent,
  150. /* [3] */    OK, visible, silent,
  151. /* [4] */    OK, visible, silent
  152.     }
  153. };
  154.  
  155. resource 'ALRT' (6 + 0xC000 | (DriverID << 5)) {
  156.     {40, 56, 160, 456},
  157.     6 + 0xC000 | (DriverID << 5),
  158.     {
  159. /* [1] */    OK, visible, sound1,
  160. /* [2] */    OK, visible, sound1,
  161. /* [3] */    OK, visible, sound1,
  162. /* [4] */    OK, visible, sound1
  163.     }
  164. };
  165.  
  166. resource 'ALRT' (7 + 0xC000 | (DriverID << 5)) {
  167.     {40, 56, 160, 456},
  168.     7 + 0xC000 | (DriverID << 5),
  169.     {
  170. /* [1] */    OK, visible, sound1,
  171. /* [2] */    OK, visible, sound1,
  172. /* [3] */    OK, visible, sound1,
  173. /* [4] */    OK, visible, sound1
  174.     }
  175. };
  176.  
  177. resource 'ALRT' (8 + 0xC000 | (DriverID << 5)) {
  178.     {40, 56, 160, 456},
  179.     8 + 0xC000 | (DriverID << 5),
  180.     {
  181. /* [1] */    OK, visible, sound1,
  182. /* [2] */    OK, visible, sound1,
  183. /* [3] */    OK, visible, sound1,
  184. /* [4] */    OK, visible, sound1
  185.     }
  186. };
  187.  
  188. resource 'ALRT' (9 + 0xC000 | (DriverID << 5)) {
  189.     {40, 56, 160, 456},
  190.     9 + 0xC000 | (DriverID << 5),
  191.     {
  192. /* [1] */    OK, visible, sound1,
  193. /* [2] */    OK, visible, sound1,
  194. /* [3] */    OK, visible, sound1,
  195. /* [4] */    OK, visible, sound1
  196.     }
  197. };
  198.  
  199. resource 'DITL' (4 + 0xC000 | (DriverID << 5)) {
  200.     {
  201.         {85, 20, 105, 80},
  202.         Button {enabled, "OK"},
  203.  
  204.         {10, 90, 80, 360},
  205.         StaticText {disabled, "Re-authentication succeeded (^0)"}
  206.     }
  207. };
  208.  
  209. resource 'ALRT' (5 + 0xC000 | (DriverID << 5)) {
  210.     {40, 56, 160, 456},
  211.     5 + 0xC000 | (DriverID << 5),
  212.     {
  213. /* [1] */    OK, visible, sound1,
  214. /* [2] */    OK, visible, sound1,
  215. /* [3] */    OK, visible, sound1,
  216. /* [4] */    OK, visible, sound1
  217.     }
  218. };
  219.  
  220. resource 'DITL' (5 + 0xC000 | (DriverID << 5)) {
  221.     {
  222.         {85, 20, 105, 80},
  223.         Button {enabled, "OK"},
  224.  
  225.         {10, 90, 80, 360},
  226.         StaticText {disabled, "There are no AFS Kerberos servers mounted."}
  227.     }
  228. };
  229.  
  230. resource 'DITL' (6 + 0xC000 | (DriverID << 5)) {
  231.     {
  232.         {85, 20, 105, 80},
  233.         Button {enabled, "OK"},
  234.  
  235.         {10, 90, 80, 360},
  236.         StaticText {disabled, "Sorry -- this program requires 128K ROMs."}
  237.     }
  238. };
  239.  
  240. resource 'DITL' (7 + 0xC000 | (DriverID << 5)) {
  241.     {
  242.         {85, 20, 105, 80},
  243.         Button {enabled, "OK"},
  244.  
  245.         {10, 90, 80, 360},
  246.         StaticText {disabled, "Error opening \"AFS Kerberos\" resource file."}
  247.     }
  248. };
  249.  
  250. resource 'DITL' (8 + 0xC000 | (DriverID << 5)) {
  251.     {
  252.         {85, 20, 105, 80},
  253.         Button {enabled, "OK"},
  254.  
  255.         {10, 90, 80, 360},
  256.         StaticText {disabled, "AFS Log is incompatible with this version of AppleShare."}
  257.     }
  258. };
  259.  
  260. resource 'DITL' (9 + 0xC000 | (DriverID << 5)) {
  261.     {
  262.         {85, 20, 105, 80},
  263.         Button {enabled, "OK"},
  264.  
  265.         {10, 90, 80, 360},
  266.         StaticText {disabled, "AFS Log is unable to get more memory.  Sorry."}
  267.     }
  268. };
  269.